SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 38549: PROC GLIMMIX displays internal code in the Log window when the procedures are inside a macro and OPTIONS MPRINT statement is used.

DetailsCodeAboutRate It

When one executes the GLIMMIX procedure or the NLMIXED procedure within a macro and specifies the MPRINT option, some internal SAS code is printed to the log. Here is a sample program that demonstrates the behavior.

options mprint;

%macro temp;
proc glimmix data=sashelp.class;
class sex;
model weight=sex;
run;
%mend;

%temp;

Below is a piece of the extra code printed in the Log window.

MPRINT(TEMP):   proc glimmix data=sashelp.class;
MPRINT(TEMP):   class sex;
MPRINT(TEMP):   model weight=sex;
MPRINT(TEMP):   run;


MPRINT(TEMP):   if (_MU_ = .) then _VARIANCE_ = .;
MPRINT(TEMP):   else do;
MPRINT(TEMP):   _VARIANCE_ = 1.0;
MPRINT(TEMP):   end;
MPRINT(TEMP):   run;

MPRINT(TEMP):   if (_CALCMU_) then _MU_ = _LINP_;
MPRINT(TEMP):   _ETA_ = _MEAN_;
MPRINT(TEMP):   run;

MPRINT(TEMP):   if (_MU_=.) or (_LINP_=.) then _LOGL_ = .;
MPRINT(TEMP):   else do;
MPRINT(TEMP):   __res__=(__Y__ - _MU_);
MPRINT(TEMP):   if (abs(__res__) > 1.340781E154) or (_PHI_ < 1.110223E-12) then _LOGL_ = -1E20;
MPRINT(TEMP):   else do;
MPRINT(TEMP):   _LOGL_ = -0.5 * __F__ * (_REMLFAC_ * log(_PHI_/__W__) +
__W__*__res__*__res__/_PHI_);
MPRINT(TEMP):   end;
MPRINT(TEMP):   end;
MPRINT(TEMP):   run;

There is no circumvention for this problem



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATz/OS9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft® Windows® for x649.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.219.3_M19.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional9.219.3_M19.2 TS2M09.3 TS1M0
Windows Vista9.219.3_M19.2 TS2M09.3 TS1M0
64-bit Enabled AIX9.219.3_M19.2 TS2M09.3 TS1M0
64-bit Enabled HP-UX9.219.3_M19.2 TS2M09.3 TS1M0
64-bit Enabled Solaris9.219.3_M19.2 TS2M09.3 TS1M0
HP-UX IPF9.219.3_M19.2 TS2M09.3 TS1M0
Linux9.219.3_M19.2 TS2M09.3 TS1M0
Linux for x649.219.3_M19.2 TS2M09.3 TS1M0
OpenVMS on HP Integrity9.219.3_M19.2 TS2M09.3 TS1M0
Solaris for x649.219.3_M19.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.